package apj.demo.service;

import java.sql.SQLException;
import java.util.List;

import apj.demo.model.Vendor;

public interface VendorServiceDao {
	public List<Vendor> pageData(int index) throws SQLException;
	public List<Vendor> findByAll() throws SQLException;
	public Vendor findById(int id) throws SQLException;
	public void save(Vendor vendor) throws SQLException;
	public void update(Vendor vendor) throws SQLException;
}
